package chapter11;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @create 2018-04-16 下午1:22
 */
public class ProxyBeanFactory {
    public static <T> T getBean(T obj, Interceptor interceptor) {
        return (T) ProxyBeanUtil.getBean(obj, interceptor);
    }

    public static <T> T getProxy(T obj, Interceptor interceptor) {
        return (T) ProxyClassUtil.getBean(obj, interceptor);
    }
}
